package cn.acac.yygh.hosp.service;

import cn.acac.yygh.model.hosp.Department;
import cn.acac.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void saveDepartment(Map<String, Object> map);

    Page<Department> selectPage(Map<String, Object> map);

    void removeDepartment(Map<String, Object> switchMap);

    List<DepartmentVo> getDepartmentList(String hoscode);

    String findDeptNameByHoscodeAngDeptcode(String hoscode, String depcode);

    Department getDepartment(String hospcode, String deptcode);
}
